﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace CPPEI.PM.Shell.Dialogs
{
    /// <summary>
    /// Interaction logic for CreateUserDlg.xaml
    /// </summary>
    public partial class CreateUserDlg : Window
    {
        public CreateUserDlg()
        {
            InitializeComponent();
        }

        private void _ctlBtnCreate_Click_1(object sender, RoutedEventArgs e)
        {
            new PMServiceRef.PMWebServiceSoapClient().CreateUser(this._ctlEditAccount.Text,
                this._ctlEditName.Text,
                this._ctlEditEmail.Text,
                this._ctlEditPhone.Text,
                this._ctlEditPassword.Text);
            DialogResult = true;
        }
    }
}
